import java.util.Scanner;
//字符串的拼接
public class operatorTest1 {
    public static void main(String[] args) {

        System.out.println("请输入一个三位数的整数：");
        Scanner sc = new Scanner(System.in);

        int num = sc.nextInt();
        int ge = num%10;
        int shi = num%100/10;
        int bai = num / 100;

        System.out.println("整数"+num+"的个位数为："+ge);
        System.out.println("整数"+num+"的十位数为："+shi);
        System.out.println("整数"+num+"的百位数为："+bai);
    }
}
